import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'


// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [],
    }),
    Components({
      resolvers: [],
    }),
  ],
  resolve:{
    alias:{
      '@':'/src'
    },
    extensions:['.js','.vue','.json','.scss','.ts']
  },
  css:{
    preprocessorOptions:{
      scss:{
        additionalData:`@import "./src/assets/styles/reset.scss";`
      }
    }
  }
})
